interface _CU_ {
    /**
     * 接口根路径
     * @returns 请求地址前缀
     */
    baseURL: string;
}
{
    const url = new URL(window.location.href);
    const baseURL = url.protocol + "//" + url.host;

    Object.defineProperty(_CU_.prototype, 'baseURL', {
        writable: false,
        configurable: false,
        enumerable: false,
        value: baseURL
    });
}
